package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceGoodsInputInventoryDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceGoodsInputInventoryDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andInventoryIdIsNull() {
            addCriterion("inventory_id is null");
            return (Criteria) this;
        }

        public Criteria andInventoryIdIsNotNull() {
            addCriterion("inventory_id is not null");
            return (Criteria) this;
        }

        public Criteria andInventoryIdEqualTo(Integer value) {
            addCriterion("inventory_id =", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdNotEqualTo(Integer value) {
            addCriterion("inventory_id <>", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdGreaterThan(Integer value) {
            addCriterion("inventory_id >", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("inventory_id >=", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdLessThan(Integer value) {
            addCriterion("inventory_id <", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("inventory_id <=", value, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdIn(List<Integer> values) {
            addCriterion("inventory_id in", values, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdNotIn(List<Integer> values) {
            addCriterion("inventory_id not in", values, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdBetween(Integer value1, Integer value2) {
            addCriterion("inventory_id between", value1, value2, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andInventoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("inventory_id not between", value1, value2, "inventoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameIsNull() {
            addCriterion("pull_goods_name is null");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameIsNotNull() {
            addCriterion("pull_goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameEqualTo(String value) {
            addCriterion("pull_goods_name =", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameNotEqualTo(String value) {
            addCriterion("pull_goods_name <>", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameGreaterThan(String value) {
            addCriterion("pull_goods_name >", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("pull_goods_name >=", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameLessThan(String value) {
            addCriterion("pull_goods_name <", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("pull_goods_name <=", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameLike(String value) {
            addCriterion("pull_goods_name like", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameNotLike(String value) {
            addCriterion("pull_goods_name not like", value, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameIn(List<String> values) {
            addCriterion("pull_goods_name in", values, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameNotIn(List<String> values) {
            addCriterion("pull_goods_name not in", values, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameBetween(String value1, String value2) {
            addCriterion("pull_goods_name between", value1, value2, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsNameNotBetween(String value1, String value2) {
            addCriterion("pull_goods_name not between", value1, value2, "pullGoodsName");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardIsNull() {
            addCriterion("pull_goods_standard is null");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardIsNotNull() {
            addCriterion("pull_goods_standard is not null");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardEqualTo(String value) {
            addCriterion("pull_goods_standard =", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardNotEqualTo(String value) {
            addCriterion("pull_goods_standard <>", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardGreaterThan(String value) {
            addCriterion("pull_goods_standard >", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardGreaterThanOrEqualTo(String value) {
            addCriterion("pull_goods_standard >=", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardLessThan(String value) {
            addCriterion("pull_goods_standard <", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardLessThanOrEqualTo(String value) {
            addCriterion("pull_goods_standard <=", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardLike(String value) {
            addCriterion("pull_goods_standard like", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardNotLike(String value) {
            addCriterion("pull_goods_standard not like", value, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardIn(List<String> values) {
            addCriterion("pull_goods_standard in", values, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardNotIn(List<String> values) {
            addCriterion("pull_goods_standard not in", values, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardBetween(String value1, String value2) {
            addCriterion("pull_goods_standard between", value1, value2, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andPullGoodsStandardNotBetween(String value1, String value2) {
            addCriterion("pull_goods_standard not between", value1, value2, "pullGoodsStandard");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNull() {
            addCriterion("bar_code is null");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNotNull() {
            addCriterion("bar_code is not null");
            return (Criteria) this;
        }

        public Criteria andBarCodeEqualTo(String value) {
            addCriterion("bar_code =", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotEqualTo(String value) {
            addCriterion("bar_code <>", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThan(String value) {
            addCriterion("bar_code >", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bar_code >=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThan(String value) {
            addCriterion("bar_code <", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThanOrEqualTo(String value) {
            addCriterion("bar_code <=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLike(String value) {
            addCriterion("bar_code like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotLike(String value) {
            addCriterion("bar_code not like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeIn(List<String> values) {
            addCriterion("bar_code in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotIn(List<String> values) {
            addCriterion("bar_code not in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeBetween(String value1, String value2) {
            addCriterion("bar_code between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotBetween(String value1, String value2) {
            addCriterion("bar_code not between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCountIsNull() {
            addCriterion("goods_count is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCountIsNotNull() {
            addCriterion("goods_count is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCountEqualTo(Integer value) {
            addCriterion("goods_count =", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountNotEqualTo(Integer value) {
            addCriterion("goods_count <>", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountGreaterThan(Integer value) {
            addCriterion("goods_count >", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_count >=", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountLessThan(Integer value) {
            addCriterion("goods_count <", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountLessThanOrEqualTo(Integer value) {
            addCriterion("goods_count <=", value, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountIn(List<Integer> values) {
            addCriterion("goods_count in", values, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountNotIn(List<Integer> values) {
            addCriterion("goods_count not in", values, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountBetween(Integer value1, Integer value2) {
            addCriterion("goods_count between", value1, value2, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andGoodsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_count not between", value1, value2, "goodsCount");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityIsNull() {
            addCriterion("remain_quantity is null");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityIsNotNull() {
            addCriterion("remain_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityEqualTo(Integer value) {
            addCriterion("remain_quantity =", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityNotEqualTo(Integer value) {
            addCriterion("remain_quantity <>", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityGreaterThan(Integer value) {
            addCriterion("remain_quantity >", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("remain_quantity >=", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityLessThan(Integer value) {
            addCriterion("remain_quantity <", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("remain_quantity <=", value, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityIn(List<Integer> values) {
            addCriterion("remain_quantity in", values, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityNotIn(List<Integer> values) {
            addCriterion("remain_quantity not in", values, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityBetween(Integer value1, Integer value2) {
            addCriterion("remain_quantity between", value1, value2, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andRemainQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("remain_quantity not between", value1, value2, "remainQuantity");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNull() {
            addCriterion("cost_price is null");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNotNull() {
            addCriterion("cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andCostPriceEqualTo(BigDecimal value) {
            addCriterion("cost_price =", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("cost_price <>", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThan(BigDecimal value) {
            addCriterion("cost_price >", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price >=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThan(BigDecimal value) {
            addCriterion("cost_price <", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price <=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceIn(List<BigDecimal> values) {
            addCriterion("cost_price in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("cost_price not in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price not between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andInputOperatorIsNull() {
            addCriterion("input_operator is null");
            return (Criteria) this;
        }

        public Criteria andInputOperatorIsNotNull() {
            addCriterion("input_operator is not null");
            return (Criteria) this;
        }

        public Criteria andInputOperatorEqualTo(Integer value) {
            addCriterion("input_operator =", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorNotEqualTo(Integer value) {
            addCriterion("input_operator <>", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorGreaterThan(Integer value) {
            addCriterion("input_operator >", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorGreaterThanOrEqualTo(Integer value) {
            addCriterion("input_operator >=", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorLessThan(Integer value) {
            addCriterion("input_operator <", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorLessThanOrEqualTo(Integer value) {
            addCriterion("input_operator <=", value, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorIn(List<Integer> values) {
            addCriterion("input_operator in", values, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorNotIn(List<Integer> values) {
            addCriterion("input_operator not in", values, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorBetween(Integer value1, Integer value2) {
            addCriterion("input_operator between", value1, value2, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andInputOperatorNotBetween(Integer value1, Integer value2) {
            addCriterion("input_operator not between", value1, value2, "inputOperator");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}